﻿<div id="panel5" class="container">
    <update-meta property="og:title" content="Penang Realty世界地產 Tenancy Calculator" />
    <update-meta property="og:url" content="http://www.penangrealty.my/Tenancy" />
    <h3> <u>Unit Conversion Calculator </u></h3>
    <div class="form-group">
        <table class="table table-condensed table-responsive borderless">
            <tbody>
                <tr>
                    <td colspan="2">
                        <label>Select Conversion Type</label>
                    </td>
                </tr>               
                <tr>
                    <td colspan="2">
                        <select class="form-control" ng-options="item as item.name for item in convertList"
                                ng-model="selectedItem" ng-change="changePage()" ng-init="initSelect();">
                        <option value="" disabled></option>
                        </select>
                    </td>
                </tr>              
                <tr>
                    <td class="col-sm-4">
                        <label>{{selectedItem.base}}</label>
                    </td>
                    <td class="col-sm-8">
                        <input id="txtCard" type="number" placeholder="0.00" class="form-control" ng-model="baseInput" tabindex="2" style="width: 100%" ng-keyup="inputKeyUp();"/>
                    </td>

                </tr>   
                <tr>
                    <td class="col-sm-4">
                        <label>{{selectedItem.convertUnit}}</label>
                    </td>
                    <td class="col-sm-8">
                        <input id="txtCard" type="number" placeholder="0.00" class="form-control" ng-model="baseOutput" tabindex="2" style="width: 100%" ng-keyup="outputKeyUp()"/>
                    </td>

                </tr> 
                <tr style="border-top:solid;border-bottom:solid">
                    <td colspan="2">
                        <label>Conversion Formula</label>
                    </td>
                </tr> 
                <tr>
                    <td colspan="2">
                        1 Hectare = 2.471 Acres
                    </td>
                </tr>   
                <tr>
                    <td colspan="2">
                        1 Acre = 43560 Sq Feet
                    </td>
                </tr>  
                <tr>
                    <td colspan="2">
                        1 Acre = 4046.86 Meter Sq
                    </td>
                </tr>  
                <tr>
                    <td colspan="2">
                        1 Relong = 30976 Sq Feet
                    </td>
                </tr>  
                <tr>
                    <td colspan="2">
                        1 Meter Sq = 10.7639 Sq Feet
                    </td>
                </tr>  
                <tr>
                    <td colspan="2">
                        1 Rantai= 66 Feet
                    </td>
                </tr> 
                <tr>
                    <td colspan="2">
                        1 Meter = 3.281 Feet
                    </td>
                </tr> 
                <tr>
                    <td colspan="2">
                        1 Milimeter = 0.003281 Feet
                    </td>
                </tr>                                                                                                                                
            </tbody>
        </table>
    </div>

</div>
